
package com.mu.rai.services;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for testbed complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="testbed">
 *   &lt;complexContent>
 *     &lt;extension base="{http://services.rai.mu.com}namedModelObject">
 *       &lt;sequence>
 *         &lt;element name="mu_ifs" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;choice maxOccurs="unbounded" minOccurs="0">
 *                     &lt;element name="attack_if" type="{http://services.rai.mu.com}attackIf"/>
 *                     &lt;element name="aux_if" type="{http://services.rai.mu.com}auxIf"/>
 *                     &lt;element name="dhcp_if" type="{http://services.rai.mu.com}dhcpIf"/>
 *                     &lt;element name="mgmt_if" type="{http://services.rai.mu.com}mgmtIf"/>
 *                   &lt;/choice>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "testbed", propOrder = {
    "muIfs"
})
public class Testbed
    extends NamedModelObject
{

    @XmlElement(name = "mu_ifs")
    protected Testbed.MuIfs muIfs;

    /**
     * Gets the value of the muIfs property.
     * 
     * @return
     *     possible object is
     *     {@link Testbed.MuIfs }
     *     
     */
    public Testbed.MuIfs getMuIfs() {
        return muIfs;
    }

    /**
     * Sets the value of the muIfs property.
     * 
     * @param value
     *     allowed object is
     *     {@link Testbed.MuIfs }
     *     
     */
    public void setMuIfs(Testbed.MuIfs value) {
        this.muIfs = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;choice maxOccurs="unbounded" minOccurs="0">
     *           &lt;element name="attack_if" type="{http://services.rai.mu.com}attackIf"/>
     *           &lt;element name="aux_if" type="{http://services.rai.mu.com}auxIf"/>
     *           &lt;element name="dhcp_if" type="{http://services.rai.mu.com}dhcpIf"/>
     *           &lt;element name="mgmt_if" type="{http://services.rai.mu.com}mgmtIf"/>
     *         &lt;/choice>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "attackIfOrAuxIfOrDhcpIf"
    })
    public static class MuIfs {

        @XmlElements({
            @XmlElement(name = "attack_if", type = AttackIf.class, nillable = true),
            @XmlElement(name = "mgmt_if", type = MgmtIf.class, nillable = true),
            @XmlElement(name = "aux_if", type = AuxIf.class, nillable = true),
            @XmlElement(name = "dhcp_if", type = DhcpIf.class, nillable = true)
        })
        protected List<MuIf> attackIfOrAuxIfOrDhcpIf;

        /**
         * Gets the value of the attackIfOrAuxIfOrDhcpIf property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the attackIfOrAuxIfOrDhcpIf property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getAttackIfOrAuxIfOrDhcpIf().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link AttackIf }
         * {@link MgmtIf }
         * {@link AuxIf }
         * {@link DhcpIf }
         * 
         * 
         */
        public List<MuIf> getAttackIfOrAuxIfOrDhcpIf() {
            if (attackIfOrAuxIfOrDhcpIf == null) {
                attackIfOrAuxIfOrDhcpIf = new ArrayList<MuIf>();
            }
            return this.attackIfOrAuxIfOrDhcpIf;
        }

    }

}
